package dao;


import domain.Registerqualification;
import domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {

    User selectById(@Param("id") Long id);

    int insert(User user);

    int update(User user);

    int delete(int id);

    List<User> selectAll();

    User selectByAccount(Object account);

    Registerqualification selectByTel(String telephone);

    int countUser();
}
